<notempty name="data">
<div id="J_advers" class="wap_index_1x4">
    <ul class="clearfix">
    <foreach name="data" item="val">
        <eq name="val.keys" value="0"><li class="flex-box"></eq>
            <a href="{$val.link}" title="{$val.title}--{$key}"><img src="{$val.image_src}"></a>
       <eq name="val.keys" value="1"></li></eq>
    </foreach>
    </ul>
</div>
</notempty>
